# @Time : 2021/6/15 10:42
# @Author : Li Kunlun
# @Description : 对NSGA-II函数进行测试

import random
import math

print(random.random())


def index_of(a, list):
    for i in range(0, len(list)):
        if list[i] == a:
            return i
    return -1


print("-------------------")
front = [[3, 4], [5, 6]]
# [5, 6]
print(front[1][:])
i = 0
# p-- 3
# p-- 4
for p in front[i]:
    print("p--", p)
print("-------------------")
print(math.inf)
